package com.inossem.warehousestorage_inossem.bean.inventory;

import com.inossem.warehousestorage_inossem.bean.common.BeanNew;

import java.util.List;

/**
 * Created by Administrator on 2017/8/31 0031.
 */

public class InventoryOrdinaryMaterieBean extends BeanNew {


    /**
     * body : {"item_list":[{"item_id":"13433","mat_id":"123","mat_code":"60161758","mat_name":"闸阀/Z41H-40C/DN150/RF","batch":"1000010004","stock_qty":"65.000","stocktake_qty":"1.000","unit_id":"123","unit_name ":"件","spec_stock":"","spec_stock_desc":"","spec_stock_code":"","spec_stock_name":"","decimal_place":"0"}],"position_code":"01-10004","position_id":"123"}
     */

    private DataBean body;

    public DataBean getBody() {
        return body;
    }

    public void setBody(DataBean body) {
        this.body = body;
    }

    public static class DataBean {
        /**
         * item_list : [{"item_id":"13433","mat_id":"123","mat_code":"60161758","mat_name":"闸阀/Z41H-40C/DN150/RF","batch":"1000010004","stock_qty":"65.000","stocktake_qty":"1.000","unit_id":"123","unit_name ":"件","spec_stock":"","spec_stock_desc":"","spec_stock_code":"","spec_stock_name":"","decimal_place":"0"}]
         * position_code : 01-10004
         * position_id : 123
         */

        private String position_code;
        private String position_id;
        private List<ItemListBean> item_list;

        public String getPosition_code() {
            return position_code;
        }

        public void setPosition_code(String position_code) {
            this.position_code = position_code;
        }

        public String getPosition_id() {
            return position_id;
        }

        public void setPosition_id(String position_id) {
            this.position_id = position_id;
        }

        public List<ItemListBean> getItem_list() {
            return item_list;
        }

        public void setItem_list(List<ItemListBean> item_list) {
            this.item_list = item_list;
        }

        public static class ItemListBean {
            /**
             * item_id : 13433
             * mat_id : 123
             * mat_code : 60161758
             * mat_name : 闸阀/Z41H-40C/DN150/RF
             * batch : 1000010004
             * stock_qty : 65.000
             * stocktake_qty : 1.000
             * unit_id : 123
             * unit_name  : 件
             * spec_stock :
             * spec_stock_desc :
             * spec_stock_code :
             * spec_stock_name :
             * decimal_place : 0
             */

            private String item_id;
            private String mat_id;
            private String mat_code;
            private String mat_name;
            private String batch;
            private String stock_qty;
            private String stocktake_qty;
            private String unit_id;
            private String unit_name;
            private String spec_stock;
            private String spec_stock_desc;
            private String spec_stock_code;
            private String spec_stock_name;
            private String decimal_place;
            private String number;//自定义number，存放自己修改的盘点数量

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getItem_id() {
                return item_id;
            }

            public void setItem_id(String item_id) {
                this.item_id = item_id;
            }

            public String getMat_id() {
                return mat_id;
            }

            public void setMat_id(String mat_id) {
                this.mat_id = mat_id;
            }

            public String getMat_code() {
                return mat_code;
            }

            public void setMat_code(String mat_code) {
                this.mat_code = mat_code;
            }

            public String getMat_name() {
                return mat_name;
            }

            public void setMat_name(String mat_name) {
                this.mat_name = mat_name;
            }

            public String getBatch() {
                return batch;
            }

            public void setBatch(String batch) {
                this.batch = batch;
            }

            public String getStock_qty() {
                return stock_qty;
            }

            public void setStock_qty(String stock_qty) {
                this.stock_qty = stock_qty;
            }

            public String getStocktake_qty() {
                return stocktake_qty;
            }

            public void setStocktake_qty(String stocktake_qty) {
                this.stocktake_qty = stocktake_qty;
            }

            public String getUnit_id() {
                return unit_id;
            }

            public void setUnit_id(String unit_id) {
                this.unit_id = unit_id;
            }

            public String getUnit_name() {
                return unit_name;
            }

            public void setUnit_name(String unit_name) {
                this.unit_name = unit_name;
            }

            public String getSpec_stock() {
                return spec_stock;
            }

            public void setSpec_stock(String spec_stock) {
                this.spec_stock = spec_stock;
            }

            public String getSpec_stock_desc() {
                return spec_stock_desc;
            }

            public void setSpec_stock_desc(String spec_stock_desc) {
                this.spec_stock_desc = spec_stock_desc;
            }

            public String getSpec_stock_code() {
                return spec_stock_code;
            }

            public void setSpec_stock_code(String spec_stock_code) {
                this.spec_stock_code = spec_stock_code;
            }

            public String getSpec_stock_name() {
                return spec_stock_name;
            }

            public void setSpec_stock_name(String spec_stock_name) {
                this.spec_stock_name = spec_stock_name;
            }

            public String getDecimal_place() {
                return decimal_place;
            }

            public void setDecimal_place(String decimal_place) {
                this.decimal_place = decimal_place;
            }
        }
    }
}
